import { NgModule } from '@angular/core';
import { CommonModule, DatePipe } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

import { AlarmRoutingModule } from './alarm-routing.module';
import { AlarmSearchComponent } from './alarm-search/alarm-search.component';
import { AlarmComponent } from './alarm.component';
import { AlarmListComponent } from './alarm-search/alarm-list/alarm-list.component';
import { WarnSearchComponent } from './early-warn-search/warn-search.component';
import { EarlyWarnStatisticsComponent } from './early-warn-statistics/early-warn-statistics.component';


import { TagMapService } from "../../service/tag-map.service";
import { TagService } from "../../service/tag.service";
import { FarmService } from "../../service/farm.service";
import { TurbcomponentService } from "../../service/turbcomponent.service"
import { DeviceTagSelectorModule } from "../common/device-tag-selector/device-tag-selector.module";
import { AudioModule } from "../common/audio/audio.module"

import { MaterialSharedModule } from "../../shared/material-shared.module";
import { CovalentSharedModule } from "../../shared/covalent-shared.module";
import { SharedModule } from "../../shared/shared.module";
import { TdDataTableService,TdDialogService } from "@covalent/core";
import { FlexLayoutModule } from '@angular/flex-layout';
import { EarlyWarningService } from '../../service/early-warning.service';
import { TurbEarlyWarnService } from  "../../service/turb-early-warn.service";
import { EarlyWarnStatisticeService } from "../../service/early-warn-statistice.service";

@NgModule({
  imports: [
    CommonModule,
    AlarmRoutingModule,
    DeviceTagSelectorModule,
    AudioModule,
    MaterialSharedModule,
    CovalentSharedModule,
    FormsModule,
    ReactiveFormsModule,
    SharedModule,
    FlexLayoutModule,
  ],
  declarations: [
    AlarmSearchComponent,
    AlarmComponent,
    AlarmListComponent,
    WarnSearchComponent,
    EarlyWarnStatisticsComponent,
  ],
  providers: [
    TagMapService,
    TagService,
    FarmService,
    DatePipe,
    TdDataTableService,
    TdDialogService,
    TurbcomponentService,
    TurbEarlyWarnService,
    EarlyWarningService,
    EarlyWarnStatisticeService
    ]

})
export class AlarmModule { }



// WEBPACK FOOTER //
// ./src/app/module/alarm/alarm.module.ts